Moves api key to the top of the file