UNDERSTANDING THE FOUNDATIONS OF CONTEMPORARY JUDICIAL SYSTEMS AND THEIR EVOLUTION