change audioplayer to appdelegate and add play queue