Added links to model
adding links controller