settings and daemon factory