server-client works separately
CPU usage calculation added