First working version of oauth library.