Added code to search resources
Added code to allow searching of resources