Formatted GAI.h and GAI.cpp