separated default GET route to a method and added npm-debug.log to .gitignore