Use spring to create a service instance