fix path
重构class Win
add config