Created a AptComplex class