sails server, lavaca client, cordova wrapper