Refactored API and adapted HUE implementation.

Signed-off-by: Dennis Nobel <d.nobel@external.telekom.de>
Fixed groovy tests.

Signed-off-by: Dennis Nobel <d.nobel@external.telekom.de>