separating lib and cli.
removing unused proxymanager variable from index.js