Added console interface for trend tagging.
Added trend vector class.