Updated example.php and minor updates and formatting for RestClient