update perform.php
update Course.Class.php to support json format.
finally support json! close #11
Merge branch 'feature/json' into develop