add events to class home

• move all contents to seperate methods to make things more transparent
• add more templates
• replace class subpages hard coded names with constants
• WIP