Refactor DNS Server to use a Dependency Injection type pattern.
Merge pull request #4 from LeakyBucket/dns-extraction

Refactor DNS Server to use a Dependency Injection type pattern.