Make configuration a little more Go-like
Updated example