added 'code' field to Course model