Adding documentation to the profile crud operations
and some minor changes in the domain classes