Refactored script to use classes.
Refactored script to use classes.

The original script had no real structure and was cobbled together. This
new version has better structure and uses proper classes. At this early
stage it may seem like overkill, but I would rather have overkill now than
down the road when it would be much more difficult!

Etzeitet/testdns