add player listener class