pedagogy: simplify and implement department system according to old database model

2 jobs for pedagogy_v2 in 20 minutes and 41 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
passed black #2244

00:02:09

passed test #2243

00:20:41

63.0%