rename service option "factory" to "generate"
add service option "destroy", auto call when process exit
version 0.2.11