refactoring to get the build system creating the build artifacts in an output folder.
fix up project build stuff (was working from command line - now works in VS too)