added interfaces to access the database directory in the DB.