Refactor service resources.
Added a validation helper for future use.