add message generation class generator (python)