added DDD base classes extracted from project
extracted  criteria_spec form the project