Merge data from config file and DB, see #1