Create an im-memory database to work with.