Major change to the project structure

Changed the structure of the .jsp files, fixed the hashing and the
search function is back