Used a unnamed namespace inst. of C-style statics

...for the "private" functions of ResourceManager.