Added DB abstractions