What is the main structure of Shariah based upon?