Flickr-style PHP Framework