Added job management, ref #4, #3, #2