Code maintenance

removed some outdated files, especially the XML schemas, and updated used libraries, added a new script for PostGIS 2 databases.