Process one file at a time. Fixed some bad things. altered some columns ...

...to bigserial, which actually cannot be done as an alter on postgresql. so the schema needs to be deleted, sorry. also added some fkey for the deletion of data. ready for deployment.cheers