Change Main class. Set up template for term expression addition and subtraction.