Reworked add_job

Added extra parameter to pass Job object. 
Uses Job object internally. 
Changed return values
Added documentation