move rg.py into the correct module in the package