setting up the database
Added a controller and all the connections