Created Grid class