added mapping of entity models to data transfer objects and vice versa