unified classes: compiling/getting theano_variables/supporting new inputs/outputs