- Added new config parameter to enable generation of uuid to be stored in a cookie.
- Moved generation of UUID to function
- Moved calculation of CPU usage to function