Corrected AbstractEntity.
Added a useful constant for Size.
Major reworkings. Unfortunately, this has to be a big commit.