Migration of network functionality and movement

Moved rest of network functionality to NetworkManager as well as added
OPCODE constants.  Moved Player movement into Player.  Also added
initial heartbeat code.