Move url tab management to it's own class.