Defines the database access interface