Moved play, pause, err, success and status functions to controller