Implemented entity map.

Replaces the loaded entity list in some situations.