Modify class API for aggregate root factory and commanding module. Re-structure sample entities.