Add search on appdesk 

Add search on appdesk + code refactoring