adding config and template