add simple search class

Signed-off-by: Peter Ellis Jones <pete@peterellisjones.com>