refactored handlers to services for spring integration