Move KSS helper and parser to an extension