Parse ns templates on startup.
Register mux handlers for all the ns templates.