adding XML-driven variable classes