Segregating more code as one task per function, particularly adding of new subscription. Fix allow/deny keys.