Issue148

modify python script
 - add control service

modify RP programs
 - all subtask can run in a thread