Fixed RG, added setup.py and build dep