added rimraf module and initial deletion of ouput folder