Adding VariableManager class for v2