Seperate vars into template file and add .gitignore