Re-factored Configuration and ThingHandler.

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