Rearranged the functions

The client functions are not ordered in the same way that they are on
the official documentation. Also, some functions were tweaked to match
the current CloudFlare API.