Added AudioPlayer and fixed bugs