begin forming templates

moving sections to templates