Refactor for for easier management of API Key
Merge pull request #2 from douglas-vaz/master

Refactor code