Add function init.
Add class Player.