Merging with new recipients code
Adding state_client script, and finish merging old/new notification code.