added card model, view and controller

use link_to and routes helpers