resource manager - WIP