added documentation to databaseinterface