rename deploy to deploy_lib
use deploy_lib
lazy load dns manager