Removed hardcoded urls, added basic config file to define whitelist locations