Restructured JassTypes and used the new generated types and the generated native interface and imports.