remove use of services and DTOs.

remove use of services and DTOs.