Moved the search form to its own file
Added template files