Added a raven db implementation to the API, with tests.