Dbfactory refactor

Cleaning up IDatabaseFactory

- [ ] @drewburlingame