added settings tab
working on join sql tables