use the server-api that returns the server
Changed build cmd to build client-b.js in /static
cleanup and updates