Fixed some bugs.
Can invoke the scraper with command line.
Implemented a callback based scraper to help with memory constraint server.