create a class who are dedicate for the display of the grid