added AI/helper func interface, pair/pos collection, finished gui heirarchy