Added search command with basic search working. Broke out the bulk of terminal printing into lib.Term