added card model, view and controller

Final newline missing.