abstracted grid to gridModel
using CellModel class to represent cells