Music Player function fully implemented