Fixes issue #1

Fixed by reorganizing code to produce correct sequence of output.
Removed old files out of the way
Merge branch 'new' of github.com:cmouse/pdns-v6-autorev into new