ADEN-1402 Massive refactoring of Rubicon RTP and ad tracking code