added: CubeScript event APi, removed some commments