contains the database interface.