added db commandline tool