Applies renaming refactorings
Adds support for varying service times per job and fixes a bug in
computing waiting time
Applies minor refactorings and clean-ups