Started working on the resource manager.