Added support for OAuth2 (#2, #15)

- Issue #2: Added support for OAuth2
- Issue #15: Added check for credential files