Moved default properties in M2GlobalState class to new M2Properties class.
Refactored var names and restructured code in M2GlobalState class.
Refactored code in M2Tile class.
Edited doc comments.
Added method allocCellsOnGrid: withSize: to M2Grid class because of readability.