added tumblr api functionality