added schema creation to databaseService