utils: New: SingletonFactory can be used to create single Instances of
Classes using their appropriate constructor.