Added some code for a new way of dealing with messages.
Added interface for Player.