added settings files, changed insert to json instead of object