unifying model into a service