Move routes to ./routes.js & convert last few definitions to app_route
Merge pull request #331 from Zren/routesjs

Move routes to ./routes.js & convert last few definitions to app_route