adding support for main in routes.js