added persist classes and moved methods from Schedule, Offering and Course