moved Earth constants into a class
slight reordering in loading process; fixed filepaths