finished base classes and DTO.
added comments to partial base classes and dtos