refactor peer and cdn.  move report to cdn method from cdn class to peer class