Done implementing daemon.js