Provided more comments in app.c
Provided more comments
Fixed tab issue
Added comments