Simple singleton factory to create class implementing Action interface.
The constructor for creating the class is cached internally to reuse in the next invokation.
In the className implementation is missing, this factory returns null.
* Action is propriatery interface, can be replaced with any other interface.