Was James Madison the father of the constitution?

Yes, James Madison was the main author of the Constitution. He also was the main author of the Bill of Rights.