created EntityList object, removed readEntityList() and addEntity() functions in nsagentflood.