Made global singleton instance name an argument

Now name of instance var can be changed using the configuration
arguments.