updated simple vector dsl & fixed bug in struct codegen with var fields