minor improvements on url
add photo model that retrieves photos from flickr