finished coding the main functionalities of the grid.
missed a few files.