gridflux started. refactoring contiues