created routes and config file