Moved configs to config file and added tests. Fixed so that we can develop without internet