delete module directory and json