GridClass written.

similar to structure of pset.