cleaned up the detail view class
Functioning MVP