Entity/Object no longer has Environment. Added mainType and subType. Removed toString() from classes