Create a Grid class