Modified struct variable declaration syntax. Updated naming, typing, codegen and tests to work with latest struct syntax.