Problem solved

But I haven't finished testing my solution, would be good if others can test it too.

You find it here.

Bernhard