Windows support 

Enhancing the multi-platforms support, making it more elegant.