Add some basic code to configure a card view