freebase and flickr api added to topic_helper