set up the Grid Abstract Class