Moved cardView to own class