Implemented the configvariable class