initial version of grid class for toolbox