code generator for creating DTOs and mapping to domain objects