adds simple layout, tweaks templatedatapage