add id property to Job class
refactoring