Moved closures in grid config to factory class address issue #43