Added API for OAuth authentication and authorization. Added temporary example of file upload.