adds mgmt-cmd for generating testdata, purge db
fixes mgmt-cmd
adds TODO
docs mgmt command examples