add topology generation
modified daemon