Initial update

Original code from
https://stssyncprovider.codeplex.com/SourceControl/latest