added the API functionality. Since it is an asynchronous library, can't fully wrap requests, callbacks will need to be included as denoted in API.java