added player class, removed debug output