make constructor; implement IDisposable
update tests for containerized