added swap files to .gitignore
Added views and templates