Add code and tests to work on windows and unix.
Merge pull request #5 from IronFoundry/master

Add code and tests to work on windows and unix.