model and tableview for works table