initial changes

added oauth
added logging
fix require statements for ruby 1.9
error message cleanup
more cleanup