moved template settings to own file