GridConfiguration
Refactoring to make things a bit nicer.