Removed the need of the input and output object for the machinery of mining.
They will now use the input_dir and output_dir vars.