Updated DB interface to include documentation.