Added all the functionality to the text and timed text object