Astronomy library written in Scala