Move common Search motion behavior to SearchBase class

Create common SearchBase class that will hold the common Search logic for different Search strategies (Search with View, Search with current word, etc).

Related to PR #197