initial submission to github

written in vs2008 but verified it compiles in vs2013 windows desktop