Broadcats and catch sessions and rules
Major reorganization of client script