Reorganized Cell[][] management and created a CellManager object