Convert c backend to use modern specializer model.
Refactor stencil to match ctree methodology.