A framework for integrated Artificial Intelligence and Artificial General Intelligence (AGI)