Add support for creating grid controller from code (no nib/storyboard).