templates/controller_template library