Refactored client operations into APIClient.
Refactored settings into a PList.