Cleaned up networking. Added collision callback

Collision and networking now seem like they were built by someone that
knew what they were doing.