In a recent split decision the U.S. Supreme Court stated, despite previous opinions, that the Second Amendment guarantees an individual right to be armed regardless of service in a militia. The author of that amendment, James Madison, explained the need for state militias, and opposed a federal monopoly on firearms. I couldn't find anything he said outside of the amendment text about an individual right. The original text submitted to Congress included an exemption from military service for religious beliefs in opposition to such service. Those words were deleted by Congress.
I would conclude that Madison believed it appropriate for the several states to regulate firearms in the interest of public safety. It is almost impossible to read a newspaper without finding a story about a tragic consequence of gun misuse or carelessness. All guns should be licensed and license holders should be qualified. Safety features should be required. Guns should not be allowed everywhere.
-- Barry Jacobson, Kennewick