Added Visual Studio solution, fixed errors with IO