(WIP) WIP getting template structure to client