move register open/close methods into vend::register class