Optional config-based-setup for the main Piezo class.