Added ConfigFile to switch between local and remote db's