Update astromodule.py

Outsourced constants & conversions to constants.py and convert.py