templatize codeFunctions, remove cloned inject from bad merge, add new page 3 levels