adding controllers and routes