added long range correction
reorganized files