Added more inline documentation and enhanced some minor code details.
Added more inline documentation and enhanced some minor code details.

corchwll/amos-ss15-proj5_ios,corchwll/amos-ss15-proj5_ios,corchwll/amos-ss15-proj5_ios