initial Daemon implementation