main now uses weather, enclosure, email, and config wrappers