deleted unused cmd writedb. moved other cmd's to dev dir