Moved functions wrapping py3270 into their own class