resource manager - First version working - WIP