First working version of image search