Created DBController for the database handling, added db setup function to the server