Added gravity attribute for ODEEnvironment during init. Modified XMLfile class from old to new class object.