refactor, move source *.py to src/
refactor, refine build script
refine the log mechanism and redirect log to DbgView on Windows