Split btsetup into separate scripts for re-use. Added DNS resolver testing