Code complexity reducing in Protein::Daemon
Merge branch 'refactoring'