README: Update the example to reflect changes to MiddleClass

Version 3.0.0 of MiddleClass no longer creates a global ‘class’ object
and so in the example we must create it locally.