Setup the framework of the crawler