Use REST lib instead of CURL lib
Add SignatureRequest class with attributes