added templates and help functions
returns layout object as template; users can investigate structure more easily