added functionality in place of stubs in lecturecontrol also added read only dbm mock for testing this