change handler func args
move init logger to ParseConfig
Init module before setHandlers