added distribution profile and added comments.

Hope iOS coding part is finished here.