Subexpression doesn't need information about variables and namespace
Merge array and ArrayVariable creation, add new ArrayVariable objects for standalone. Closes #122
Some simplifications in the code