Added gflags and uritemplate.
added userservice and cred storage to oauth_handler