first draft of: daemon support, log rotation