updated most files, in the middle of SQl configuration; still rough