Add search routes and refactor homepage layouts