Sample config file generator clean up

Removed obvious comments, variablized common values,
trimmed ouput messages.

Change-Id: Id28f9e1d861c99ace0a9d1f94672936c16cfe88f
Merge "Sample config file generator clean up"