Split pdns module into components.