I Made my snippet generic, the different between yours and mine would be that my contains a key, your are separated with comas. It would be very difficult for me, because I could save all my setting but when it come to my furniture list I'll be fucked.
And the reason why I created a map class was so people could name there key exactly as there method (Their SETTERS). I look through all decleard method in the GUI class. Looking the identical one. And just like I asked the question before, execute the method using the value key as the argument.