added multiple database support
update documentation