course and enrolment models

this depends on #19

1. new course model

2. course user relation model: enrolment
should it be user then course, or course then user? the order is important when querying using indices.