Add more things to Gitignore, and correct router functions