moved dto from models to dto