clean up
teased apart rig API from network code in player.js