Create PuppetManager.cs

Mat's code