progress on MEAN codegen