moved AAS.cpp into AAS.h (will try to merge everything together so typescript's typing works properly