changed it so commandParser gets a pointer to the TextEngine in it's ctor