create course controller and model