CoreObject editted to update timeLastEntityEntered in getEntity and timeLastEntityLeft in removeEntity
BatchDecomposition and BatchReassembly editted in order to update timeLastEntityEnded correctly