Made player component class local