removed global db state
create config files