log, spawn process

added logger
added spawn process for windows (Different Process Group)