tested and working lib and daemon
tested and working lib and daemon