add editor backup and swap files to gitignore
setup routes and controllers for application