Add Visual Studio Projects
Fix warnings of level 4
Remove an unused variable