Cleaning the IO Manager

Move all functionality related to ROOT files to a new class