There are plenty of resources out there to explain how to make a module in Magento 2 so I will add to the noise.

I will just leave you a the link that explained it well enough that I was able to follow along with to create my first module.

Simple Magento 2 Controller Module