Implemented messaging system for entities.
Added interface for persistence service.