Refactored AgoClient to own independent package.