Added functionality to add units and lessons to a course