Use aliases for Windows functions, and remove unused functions.
Use aliased function names.
Added String#wincode method in helper file.