Css classes for grid

- Added support for specifying grid css classes.