Added generateSignature, getOAuthParams, and sendRequest. Minorly refactored generateNonce, and added a few global variables. Also reintroduced parseConfig since there's no other easy way to keep they api key outside of commits.