Implement getDatabase()