update template to make documentation more astropy-ish
update core.py