changed the interface to use .get .set and .remove instead of trying to just have one function do it all.