Applied Energistics 2 Controller Design