move main configuration section out to its own template