move service bean to spring-context