create a sample config when none exists
a place for protocol functions