A New Framework for Machine Intelligence: Concepts and Prototype