The existing Pebbled already does most of this. Wouldn't it be easier to just fork that? You'd get the UI and the D-Bus API for app/UI communication. You'd get Javispedro's work on the JSKit for running code on the phone. Seems silly to start anew.