major reorganization of player rpc file, mainly modularizing coloring of world