Performed some refactoring of entity classes and documented many of the
classes in the entity package.