reduced repeat code and streamlined the loading and parsing of image search results
removing previous results when starting new search
refactored ViewController to be more reactive