Correction sysntax bugs, Class Room now crate a instance of GeneratedEvent