Add search functionality; some documentation