Add search functionality

Added ability to search for sermons and some code tidy ups.