Moved implementation of WindowsTTY to separate file.
Also did some changes based on comments to earlier commit.

Signed-off-by: Peter Atashian <retep998@gmail.com>