progress on MEAN code gen