updates to p2p, socket io, etc
refactored all dat shit