astropy dependency, use of astropy.config
remove pyfits dependency
More extensive use of astropy.config
Provides good configuration of several options.