Module that splits incoming texts into headers and paragraphs