deploy and clean script (first draft)

with some test with deploying node.js and the api