refactor: remove leftover unused code from course
currently unused and are coupled with the template database