Started support for pubsub, handling of Oauth Scope requests