Changed MainRunner to DecoratorTemplate