Modified the ResourceInfo. Now it have getters and setters and a toString method.