separated config, and added .gitignore