A Framework for Learning