wrapping all console calls to enable dumping output to differnt sources
converting playerState to a backbone model