Converted the single object view to a CBV.

Part of porting all views to CBVs.