Refactored so that backbone-db includes only the interface