Creating a player object