Getting basic templating in place is preparation for some reactjs.