First implementation and test of GridBlock concept and class