Qstat class is created to make them clean