improved support for extensions using get_called_class() for new instances name

added some comments to the top with retro-support and an example