made routes and created all controllers