refactored code from api.js to taskmanager.js on the backend. Started implementing simple run task now functionality on backend.
Got socket.io up and running