Move IRODS routines into own module