Updates to make it cross platform and added suggestions in comments.
Modified files with suggestions and made it cross platform
Merge pull request #1 from craigHoe/master

Updates and suggestions