Modify GOL class to use GOLGrid and GOLGridFactory