BibAudit: DBApi class created

* Made DBApi into a class for easy imports

* Indents -> spaces