changed imports for r2py files

changed imports and tested this files locally.