Added a resource manager