Added Resource class