dtos and daos

changed some things in the dtos and began on the daos