added player class and updated planLog