Created Mask class