added json func
app delegate adjustments for readme