Created DB abstraction, updated documentation, and misc updates.