Added a detail view class