Essential Routines for Astronomy