generate NewManager class