Implements flickr API