modify player class

And change the name method,add some new class.