fixed controller name calculation
added support of DAEMONS_ROOT env variable
Merge pull request #7 from mlapshin/master

Support DAEMONS_ROOT env variable