remove application/module directories