Conversion to use Perl API handler

Handler created by rbrickett
Repo - https://github.com/StoneTools/DNS-API_REST