threading added
adds dbConfig to settings
mergin gaya with local