Refactored Entity to use EnumMap. Performance Improved.