Classes to work with ASS (Advanced Substation Alpha) subtitles in PHP