grid generator mixin
Moved grid generating to grid main file