fixed processing of sigterm handler
refactoring of hash_core()
disable cookie transaction of switch-daemon
refactoring of external_callback
- support multiple callbacks