drop database script
modification of adddb, switchdb and currentdb

issue #8