added cli module and util/db tests