first commit for cdn.py peer.py and simulator.py