some core changes
moved start_daemon code into cli
works! as far as i can tell
for easy debug
typo
added server stuff
merge
remerge