Made index and search point to the correct css and js directories. added searchResults.php and needed little refactoring.