Replace the OAuth lib by a single class