updated ents

Encapsulated and added javadoc commenting to Ents.java