Created in-memory repository for entities.

Created in-memory repository that can be used to provide persistent storage for entities, at least between restarts. This should be generic enough that people can use it in the lab to save time, without it influencing the direction of their solutions too much.