ResourceContainer works as a singleton