Add pause/play functionality

Add pause/play functions