add multithread trainer + code refactoring
update
update
update
fix include
fix printf
Merge pull request #1 from bingzhengwei/dev

Dev