Added a detail view for contracts. Still very (very!) basic.