First draft of Vessel A/B phone gap plugin