Added beginnings of OAuth2 framework