Moved init_conf call to main to avoid race condition

Fixes issue where configuation is accessed before it is
configured.

Also removed unnecessary argument and updated doc string.

Change-Id: Iab0e4d508a101e80696291c19383a3ec8181b1ec