models routes and controllers set up