added class for configurations. cleaned up Flickr call