transforming content into modules