moved flickrapi connection to separate class