Move player's logic to plaer's module