Migrated to VS2012

Near completed API and Repo implementations.