added card model, view and controller