Added a databasehandler with a few functions