add db and config file