initial flickr api implementation