version detector added. Some bugs with spatialite, to be resolved today