add Gemfile, Rake tasks and subscriber

server connect method has breaking changes