added constructor for Course