Extracting maximization functionality
Refactoring grouping. Adding new tests. Move grid code into mixins.
Merge pull request #209 from PrimeRevenue/refactor/grid

Refactor/grid