Add ResourceManager
Use the Resource manager/definitions
add unload to ResourceManager