routeParser needed to be wrapped in 'function(sails){}'