Port sx.py to main.cpp/hpp, add to VS proj, convert to exe build.