Factor out text to tokens into its own function. Working on #9.
Started adding built-in extension: Sitemap; working on #9.