Added full copying and disposing of Entity. Changed some Hashmaps to use
Enummaps for slight performance increase, resulting in the readData and
writeData entity methods to take only a single argument.