refactoring medJobItem and medRunnableProcess in progress