export createDaemon
beautify
split daemon and jetd into different files
remove shebang
add basic tests
beautify, indent
add 'publish' event