Importing code from MicroStar codeplex project
Updating sample to use modifier
Merge branch 'codeplex-migration'