generated models, controllers and modified routes for server side and client side