refactored key out into a class refactored perm to use __call__
refactored key out into a class
refactored perm to use __call__

Signed-off-by: Mike Corrigan <15fd0f1234246d4a1f1b43c02974353dea24d3de@motorola.com>

CaveMike/pubsub