first commit, including tims flickr code