sacrifice strictSSL for the sake of testing
expose api in index.js
implements a smoke test for all api methos