Altered AGI_DIR to use the Facade Design Pattern