Finished loader.main and extractor.main with comments