Fixed sink model.
More work on power part.

Implemented PowerConsumerManager and factory.
Added basic tests for PowerConsumerManager.