refactor gridview / gridcontroller relationship