API Key and compiler

* Fixed api key loading issue
* Added closure compiler and bat script