Refactored out the memory store to an external repo. Wrote new tests to test innkeeper