adding text and style parsing classes