changed some documentation in validator
added some documentation to entity
changed some docs for Entity