isPlaying and stop methods added.