refactor & add streamstatusdaemon