Added Job api. Fixed #3.