add daemon_application mixin class and OS exception