Added api key integration to the build process

To use your own API keys create a JSON file at keys.json with the names
of each of the relevant keys.