Upgraded astrodev interface to thread-safe architecture and internal API changes.