Implemented a Resource manager