Moved .terminal into it's own class.