Moving keys to config file.
Add config to gitignore
updated functionality and structure