added basic locations controller and updated routes for locations