base config init