This is the code that's written in objective c.  This is the application logic code