A modern Fortran library for astrodynamics