Add the search functionality

Fixes issue #70