Refactoring Google api keys