renamed files.
initial daemon.js implementation.