API work-in-progress; adding start of mac app