Updated share app prototype. Excluded unused code.