add exception handler and muisic player