refactored the express app routing structure with express-resource