API for Core Shell?

You can do the host creation with Core Shell 1.7 now, use the AppleScript command set myHost to create host with name.

I've updated an example in this post:

Thanks a lot for the suggestion!