ResourceMananger.cpp first pass