Refactory of methods for CPU, disks and network stats