added vs2013 project file and code clean up.