This is the model i think it makes sense. Node in the phone is not good. Node in the server and a thin client on the phone through API.