Updating Code

Adding a few updated files and an altered search template from Crystal.