added vs 2010 project, still need to fix a bug in the gateway