Using a Service to encapsulate business logic