add the framework for course operation and finished the view course