Integrated the new template with basic functionality.