Added transitions to the text model base. Also updated the interpreter.