Added databasehelper functionality