added: former codelines get out of main script
readme updated
added: filter of postgresql and postgis  versions; check if table already exists; add current date to table out name
clean up