Added daemons to dependencies
Rewrite
Some bugs