plotlygrid class restructure for v2 of api