Adding a service layer