shared package for dtos
updated rest, added some processing functions