added: server.js and API doc