GridGenerator added. Grid class added