Rewrite of job structure to use linked list