Tumblr package init and various fixes

the Init of the tumblr package is in
there are a couple of bugfixes for the new version of some libraries and the compiler so that this still build
a couple of comments and style fix thanks to golint