UNDERSTANDING THE FOUNDATIONS OF MODERN LAWFUL SYSTEMS AND THEIR EVOLUTION