refactored out the files to a local config file

fix issue #2, need to generate new API credentials and create a 'config.json' and copy paste your credentials.