feat(preferences) - create a way to register per resource preferences and fetch them