Every action script in 99% starts with fetching course, course module, and module instance record. Workshop class will keep the reference to the course record in courserecord public member variable (do not confuse with course integer property).