add EntityPool data structure to combine Array and EntityMap