modify cpu power model
add component and encapsulate operations in components