Introduce astrolabe gem

This closes #1291.