added config struct to be eventually implemented, go fmt
changed const to be listed in var section in common as they are not really constants.  go fmt