factored astropy imports into external module. Allowed support for pywcs/pyfits