Minimal resource manager code