Updated readme, introduced improvements into the loader script, made minor code refactoring, wrote comments.