Created new card view class