put all config into config file