Created eventmasks class