a lot of refactoring on code. wrap image search functions to SearchWorker class