Started on the new resource manager design.
Fixed internal resource references.
Removed obsolete files. Tests are running.
C++11 Voodoo
Destructor functions working for reference pointers.