add Global class to create default database for testing