Astronomy Functions, Tools and Routines