Making MCAPI class instance a singleton