Update of REST Class and setup.py