hook up world gravity, add first api functions