daemon: add interface
refine daemon