Functionality to create and delete directories added.