Added method for retrieving access token. Converted all static variables to nonstatic.
Improved make method, removed port and timeout parameter and added options array parameter which can be ussed to pass additional curl options.