Moved the Resource Manager lib from example to erm