Basic UI framework for substitution.
Basic expression building after refactor.