Convert from astropy template package.

(still need to remove examples)