Vital note added to README and an example real-world program added

I spent an hour fighting with `envdecode` only to realise the (maybe obvious) point that fields *must* be exported in order for them to work.

I have added this note to the README and included a real-world example program that helped me reach this conclusion.