better separation of concerns. addition of restful service notifier.