Singleton implementation is done for resources