Added initialize method to player object