Moved and expanded Search function

I have gotten further with the search function. I have had to create a
local copy of the project in order to make changes as it causes issues
to other parts of the project. I will add in parts as i know they work.
I am currently working to get the search results to display in a
formatted manner with links to opening the media files.