Added samples directory. Fixed service_flickr bugs