added courses model and controller