iOS App init
Merge remote-tracking branch 'origin/iOSApp'
correct sql statements