Major code refactoring and optimization. All networking methods added to respective APIClient classes.