added model package, the logic for dealing with patients, grades, users, and pictures should be move from the PatientController to classes in the model package