move serverdaemon into the framework