move zetam client to a npm module