Complete play and pause functionality

* also added some manuel test code