refactor daemon website