Implemented resource manager for loading resources.