Added Functions to ResourceMananger.cpp

They are all wrong, but they will be fixed soon.