New version 1.1:
Now you can change the type of database on the fly by setting the property _dbtype (change the driver)
More security with methods lock and unlock used to export the object and import it only if the file base.inc.php is the same as it creator.