basic grid and cell classes
fixed few errors in grid