Feature/generic search

Related to #9.