Implementing DBCard class