Create single and multi process class for compression