Update resource manager

Add the possibility to unload a folder
Update sample