Fixed gitignore and moved secret key to json layer