added nic model. added attr and attrs meta functions