Added search functionality with whoosh and haystack