oauth interface split out, more refactoring
Merge pull request #5 from pkit/swauth

oauth interface split out, more refactoring