move flowdock operations to a separate class