advancing MEAN code generator