AppGenerator is now a class that can be created and disposed of and it exposes the TransformationContext instance so endusers can easily use it to create more code