use list of codes in place of list of course objects in wday Model and Database