Drivers are prepared by manufacturers and regularly updated with feedback from the full userbase of the product. Interfaces are according to the well-developed and mature ASCOM standards.
Developing a scripting application for astroimaging requires access to libraries, at a minimum:
This would be an exciting project. The first step to do it properly would be to eliminate the error-prone settings GUI and use (for example) SQlite to manage target lists and configurations. Required libraries are as for the scripting application plus sophisticated celestial coordinate maths for optimizing the schedule, and SQLite