moved signedrequest helper class to this project.