also collect cpu percentage
rename the module from processmemory to processresources
rename class from Memory to Resources
simple cpu usage test
collect process data at iteration time to minimize race condition