started database abstraction