Fixed all of the bugs and addd db dump and fetch command