Made lesson, time_period and year_month classes; cleanup