Split classes into classes and sessions

Splits classes from single entity into classes and sessions. Classes
attach to co-op days and stages. Sessions attach to classes and school
years. Sessions are connected to marks rather than classes.