change class to object
add namespace for setting key
change key names
add scripted for test
add test