Add schedule struct definitions, as well as a unit field referring to them
Merge remote-tracking branch 'q-github/master'