How have legal codes change and what roles did philosophers play in the development of law in the United States? should moral codes play a role in society?

What is a moral code?