DB abstraction from project