added image search functionality, xml and json exporting