add .idea to gitignore
some formatting issues
add api key and api secret to configuration