Moved ObjectDatabase to its own file. Implemented more API on Bolt.