Added TermSequence
Added basic term patterns