init: initialize the basic config.