framework for pages and templating near completed