The main client code for the AKS project