split the service bean into common lib