Related to #12. Refactored user and API client code to encapsulate all API calls in one class. Other changes to keep naming conventions in line with rest of the code.