added Grid class
added Grid class