Added multi database management