Refactoring: Grid goes to GridManager
+ Add UseIntegral flag to config