Switched from restler to request for HTTP requests.
Moved from events to callbacks and switched to the request module for HTTP requests.