add a VariableAccesor class in Variables and corresponding create_accesor and get_fast functions in Variables, plus tests