Instantiating cache moved to singletone-class