Node.js command and control framework