Creates variables and domains in TWPAS