1. add daemon function. 2. zimg can get CPU cores number by itself.