Made file structure more msbuild/xbuild friendly. Also migrated code to v4.0profile and removed all archaic makefile stuff.