Fixed a lot of stuff and added a search page