Add course model

The course model is updated to support the new layout,
forgot to commit this one with the previous commit...