Added Entity System functionality for maintaining a list of entities