Initial code for #2. Added search based on URI and ajax code to update the UI