refactor jc.py task and input/poy module