moved some globals out, added an exporter for orbit paths