Added basic database abstractions.