Used an embedded in-memory database rather than relying on mysql