Python plugin control framework