url handling

Added debugging and url handling. Detect duplicates and many more.

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>