Code maintenance

removed some outdated files, especially the XML schemas which were changed to ones from the repo, and updated used libraries, added a new script for PostGIS 2 databases.