Visual studio solution file to build in VS. Missing lib files. Refactored some unnecessary routines out.