Create resource manager.