Add constructor to course