have separate classes for each target system that implement set/get/delete/list/etc. functions
maybe each class can have a map of strings -> &function? instead of having a big conditional to check the given command then call the right function, we just do a specific function based on the key of the map. example
map
ofstrings
->&function
? instead of having a big conditional to check the given command then call the right function, we just do a specific function based on the key of the map. example