A node.js based application server for IOT applications