added a simple in-memory repository for a primitive aggregate root