refactored the extractor
added GitLoader and HgLoader