Clean up configuration

Make it easy to configure (via code) whether to use wifi/ethernet/null,
and make it easier to configure how the pulse sensor should be
interpreted (to make it more interesting when testing with push-buttons)