Progress with setting up proper Pentaho job (learning as I go).

Also tweaks to Postgres schema.