socket.io added, changed method for modules, added run.js for app.js