move DbUrl implementation to cpp file