adding controllers and setting up database/routes