fixed service daemon, added CLI utility