Add code for search. Remove PymageA