rework how StarX and widget are organized.
removed phonegap.