cpu controller, fix some styles
Merge https://github.com/elefher/CpuHandler