added Player Component class