The Search for a Theory of Cognition: Early Mechanisms and New Ideas