Added support for pausing and resuming

Not sure how the playing variable will handle end of playlist