template fixes, separate config defaults into separate file