Data issue

This changes the SQL layout to support (pre)processed data without raw/preprocessed data.
It fixes any relevant code involved on thath
should say: "...does not exist" (remove the last "s" in exists)