added the ability to search for headlines, closes #5, closes #6