moved pause/resume methods into Module.cs