all package use same config struct

add toml support