All functions have been made into separate files except crawl. Now working on making crawler functional again.